﻿<Page
    x:Class="RichMan4LApp.SettingPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:RichMan4LApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" Loaded="Page_Loaded" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
	<Page.Resources>
		<SolidColorBrush x:Key="SliderBorderThemeBrush" Color="Transparent"/>
		<Thickness x:Key="SliderBorderThemeThickness">0</Thickness>
		<FontFamily x:Key="ContentControlThemeFontFamily">Segoe WP</FontFamily>
		<x:Double x:Key="ControlContentThemeFontSize">12</x:Double>
		<x:Double x:Key="SliderOutsideTickBarThemeHeight">5</x:Double>
		<x:Double x:Key="SliderTrackThemeHeight">9</x:Double>
		<SolidColorBrush x:Key="SliderDisabledBorderThemeBrush" Color="Transparent"/>
		<Style x:Key="SliderStyle" TargetType="Slider">
			<Setter Property="Background" Value="{ThemeResource SliderTrackBackgroundThemeBrush}"/>
			<Setter Property="BorderBrush" Value="{ThemeResource SliderBorderThemeBrush}"/>
			<Setter Property="BorderThickness" Value="{ThemeResource SliderBorderThemeThickness}"/>
			<Setter Property="Foreground" Value="{ThemeResource SliderTrackDecreaseBackgroundThemeBrush}"/>
			<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
			<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/>
			<Setter Property="ManipulationMode" Value="None"/>
			<Setter Property="IsThumbToolTipEnabled" Value="False"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Slider">
						<Grid Margin="{TemplateBinding Padding}">
							<Grid.Resources>
								<Style x:Key="SliderThumbStyle" TargetType="Thumb">
									<Setter Property="BorderThickness" Value="0.8"/>
									<Setter Property="BorderBrush" Value="{ThemeResource SliderThumbBorderThemeBrush}"/>
									<Setter Property="Background" Value="{ThemeResource SliderThumbBackgroundThemeBrush}"/>
									<Setter Property="Template">
										<Setter.Value>
											<ControlTemplate TargetType="Thumb">
												<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"/>
											</ControlTemplate>
										</Setter.Value>
									</Setter>
								</Style>
							</Grid.Resources>
							<Grid.RowDefinitions>
								<RowDefinition Height="Auto"/>
								<RowDefinition Height="*"/>
							</Grid.RowDefinitions>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="HorizontalBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderDisabledBorderThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="VerticalBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderDisabledBorderThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="HorizontalDecreaseRect">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreaseDisabledBackgroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="HorizontalTrackRect">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBackgroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="HorizontalTrackRect">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBorderThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="VerticalDecreaseRect">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDecreaseDisabledBackgroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="VerticalTrackRect">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBackgroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Stroke" Storyboard.TargetName="VerticalTrackRect">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTrackDisabledBorderThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="HorizontalThumb">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBackgroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="HorizontalThumb">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBorderThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="VerticalThumb">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBackgroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="VerticalThumb">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderThumbDisabledBorderThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="TopTickBar">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="HorizontalInlineTickBar">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkInlineDisabledForegroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BottomTickBar">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="LeftTickBar">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="VerticalInlineTickBar">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkInlineDisabledForegroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="RightTickBar">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SliderTickMarkOutsideDisabledForegroundThemeBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<ContentPresenter x:Name="HeaderContentPresenter" ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" Style="{StaticResource HeaderContentPresenterStyle}"/>
							<Grid x:Name="SliderContainer" Background="Transparent" Grid.Row="1" Margin="0">
								<Grid x:Name="HorizontalTemplate">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition Width="*"/>
									</Grid.ColumnDefinitions>
									<Grid.RowDefinitions>
										<RowDefinition Height="17.5"/>
										<RowDefinition Height="Auto"/>
										<RowDefinition Height="17.5"/>
									</Grid.RowDefinitions>
									<Rectangle x:Name="HorizontalTrackRect" Grid.ColumnSpan="3" Fill="{TemplateBinding Background}" Grid.Row="1" Stroke="{ThemeResource SliderTrackBorderThemeBrush}" StrokeThickness="0"/>
									<Rectangle x:Name="HorizontalDecreaseRect" Fill="{TemplateBinding Foreground}" Grid.Row="1"/>
									<TickBar x:Name="TopTickBar" Grid.ColumnSpan="3" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}" Height="{ThemeResource SliderOutsideTickBarThemeHeight}" Margin="-4.5,0" Visibility="Collapsed"/>
									<TickBar x:Name="HorizontalInlineTickBar" Grid.ColumnSpan="3" Fill="{ThemeResource SliderTickMarkInlineBackgroundThemeBrush}" Height="{ThemeResource SliderTrackThemeHeight}" Margin="-4.5,0" Grid.Row="1" Visibility="Collapsed"/>
									<TickBar x:Name="BottomTickBar" Grid.ColumnSpan="3" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}" Height="{ThemeResource SliderOutsideTickBarThemeHeight}" Margin="-4.5,0" Grid.Row="2" Visibility="Collapsed"/>
									<Thumb x:Name="HorizontalThumb" AutomationProperties.AccessibilityView="Raw" Background="{ThemeResource SliderThumbBackgroundThemeBrush}" Grid.Column="1" DataContext="{TemplateBinding Value}" Height="19" Margin="0,13,0,0" Grid.RowSpan="3" Style="{StaticResource SliderThumbStyle}" VerticalAlignment="Top" Width="9.5"/>
									<Rectangle x:Name="HorizontalBorder" Grid.ColumnSpan="3" Grid.RowSpan="3" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
								</Grid>
								<Grid x:Name="VerticalTemplate" Visibility="Collapsed">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="13.5"/>
										<ColumnDefinition Width="Auto"/>
										<ColumnDefinition Width="13.5"/>
									</Grid.ColumnDefinitions>
									<Grid.RowDefinitions>
										<RowDefinition Height="*"/>
										<RowDefinition Height="Auto"/>
										<RowDefinition Height="Auto"/>
									</Grid.RowDefinitions>
									<Rectangle x:Name="VerticalTrackRect" Grid.Column="1" Fill="{TemplateBinding Background}" Grid.RowSpan="3" Stroke="{ThemeResource SliderTrackBorderThemeBrush}"/>
									<Rectangle x:Name="VerticalDecreaseRect" Grid.Column="1" Fill="{TemplateBinding Foreground}" Grid.Row="2"/>
									<TickBar x:Name="LeftTickBar" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}" HorizontalAlignment="Right" Margin="0,0,1.5,0" Grid.RowSpan="3" Visibility="Collapsed" Width="{ThemeResource SliderOutsideTickBarThemeHeight}"/>
									<TickBar x:Name="VerticalInlineTickBar" Grid.Column="1" Fill="{ThemeResource SliderTickMarkInlineBackgroundThemeBrush}" Grid.RowSpan="3" Visibility="Collapsed" Width="{ThemeResource SliderTrackThemeHeight}"/>
									<TickBar x:Name="RightTickBar" Grid.Column="2" Fill="{ThemeResource SliderTickmarkOutsideBackgroundThemeBrush}" HorizontalAlignment="Left" Margin="1.5,0,0,0" Grid.RowSpan="3" Visibility="Collapsed" Width="{ThemeResource SliderOutsideTickBarThemeHeight}"/>
									<Thumb x:Name="VerticalThumb" AutomationProperties.AccessibilityView="Raw" Background="{ThemeResource SliderThumbBackgroundThemeBrush}" Grid.Column="1" DataContext="{TemplateBinding Value}" Height="{ThemeResource SliderTrackThemeHeight}" Grid.Row="1" Style="{StaticResource SliderThumbStyle}" Width="{ThemeResource SliderTrackThemeHeight}"/>
									<Rectangle x:Name="VerticalBorder" Grid.Column="1" Grid.RowSpan="3" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
								</Grid>
							</Grid>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>


		<ControlTemplate TargetType="ToggleSwitch"  x:Name="ToggleSwitchTemplate">
			<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
				<Grid Background="Transparent">
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto" />
						<RowDefinition Height="Auto" />
						<RowDefinition Height="9.5"/>
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*"></ColumnDefinition>
						<ColumnDefinition Width="13.5"></ColumnDefinition>
						<ColumnDefinition Width="77"></ColumnDefinition>
					</Grid.ColumnDefinitions>
					<!-- Header Presenter -->
					<ContentPresenter x:Name="HeaderContentPresenter"
                  Margin="{TemplateBinding Padding}"
                  Style="{StaticResource HeaderContentPresenterStyle}"
                  Foreground="{ThemeResource ToggleSwitchHeaderForegroundThemeBrush}"
                  Content="{TemplateBinding Header}"
                  ContentTemplate="{TemplateBinding HeaderTemplate}"
                  AutomationProperties.AccessibilityView="Raw"/>
					<!-- On/Off Presenters -->
					<Grid Grid.Row="1" Margin="{TemplateBinding Padding}">
						<!-- Off -->
						<ContentPresenter x:Name="OffContentPresenter"
                  Opacity="0"
                  IsHitTestVisible="False"
                  FontFamily="{ThemeResource PhoneFontFamilyNormal}"
                  FontSize="{ThemeResource TextStyleExtraLargeFontSize}"
                  FontWeight="Normal"
                  Content="{TemplateBinding OffContent}"
                  ContentTemplate="{TemplateBinding OffContentTemplate}"
                  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                  AutomationProperties.AccessibilityView="Raw"/>
						<!-- On -->
						<ContentPresenter x:Name="OnContentPresenter"
                  Opacity="0"
                  IsHitTestVisible="False"
                  FontFamily="{ThemeResource PhoneFontFamilyNormal}"
                  FontSize="{ThemeResource TextStyleExtraLargeFontSize}"
                  FontWeight="Normal"
                  Content="{TemplateBinding OnContent}"
                  ContentTemplate="{TemplateBinding OnContentTemplate}"
                  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                  AutomationProperties.AccessibilityView="Raw"/>
					</Grid>
					<!-- Switch Knob  -->
					<Grid Grid.Row="0"
      Grid.RowSpan="2"
      Grid.Column="2"
      ManipulationMode="None"
      VerticalAlignment="Bottom">
						<Grid x:Name="SwitchKnobBounds"
      Height="36">
							<Border x:Name="OuterBorder"
        BorderBrush="{ThemeResource ToggleSwitchOuterBorderBorderThemeBrush}"
        BorderThickness="2.5"
        Margin="3,4.5,3,4.5">
								<Border x:Name="InnerBorder"
        BorderBrush="{ThemeResource ToggleSwitchTrackBorderThemeBrush}"
        BorderThickness="2.5">
									<ContentPresenter x:Name="SwitchCurtainBounds">
										<ContentPresenter x:Name="SwitchCurtainClip">
											<Rectangle x:Name="SwitchCurtain" Fill="{ThemeResource ToggleSwitchCurtainBackgroundThemeBrush}" Width="64">
												<Rectangle.RenderTransform>
													<TranslateTransform x:Name="CurtainTranslateTransform" X="-64" />
												</Rectangle.RenderTransform>
											</Rectangle>
										</ContentPresenter>
									</ContentPresenter>
								</Border>
							</Border>
							<!-- Switch Knob Shape -->
							<Rectangle x:Name="SwitchKnob"
           Fill="{ThemeResource ToggleSwitchThumbBackgroundThemeBrush}"
           Width="20.5"
           HorizontalAlignment="Left" StrokeThickness="0">
								<Rectangle.RenderTransform>
									<TranslateTransform x:Name="KnobTranslateTransform" />
								</Rectangle.RenderTransform>
							</Rectangle>
						</Grid>
						<!-- Thumb UI trigger surface, it sets a resonable touch/drag margin around the 
                   switch knob. -->
						<Thumb x:Name="SwitchThumb"
                      Margin="-13.5,-15.5,-13.5,-6.5"
                      AutomationProperties.AccessibilityView="Raw">
							<Thumb.Template>
								<ControlTemplate TargetType="Thumb">
									<Rectangle Fill="Transparent" />
								</ControlTemplate>
							</Thumb.Template>
						</Thumb>
					</Grid>
				</Grid>
			</Border>
		</ControlTemplate>
		<Storyboard x:Name="StartStoryBoard">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SettingPageUpImage">
				<EasingDoubleKeyFrame KeyTime="0" Value="0" EasingFunction="{StaticResource EasingFunction}"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource EasingFunction}"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1" EasingFunction="{StaticResource EasingFunction}"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="MainGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0" EasingFunction="{StaticResource EasingFunction}"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1" EasingFunction="{StaticResource EasingFunction}"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="MainGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="600" EasingFunction="{StaticResource EasingFunction}"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0" EasingFunction="{StaticResource EasingFunction}"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="LeaveStoryBoard">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SettingPageUpImage">
				<EasingDoubleKeyFrame KeyTime="0" Value="1" EasingFunction="{StaticResource EasingFunction}"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0" EasingFunction="{StaticResource EasingFunction}"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="MainGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="0" EasingFunction="{StaticResource EasingFunction}"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="600" EasingFunction="{StaticResource EasingFunction}"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="MainGrid">
				<EasingDoubleKeyFrame KeyTime="0" Value="1" EasingFunction="{StaticResource EasingFunction}"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0" EasingFunction="{StaticResource EasingFunction}"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>


	</Page.Resources>

	<Grid>

		<Rectangle x:Name="BackGroundRect" Fill="{StaticResource DeepRed}" Margin="0,0,0,-1" d:LayoutOverrides="LeftMargin, RightMargin" Grid.ColumnSpan="3" Grid.RowSpan="2"/>

		<Image x:Name="SettingPageUpImage" Margin="0" Source="ms-appx:///PageResources/SettingPageUp.png" Stretch="UniformToFill" Grid.ColumnSpan="3" Grid.RowSpan="2" VerticalAlignment="Top"/>
		<Grid x:Name="MainGrid" RenderTransformOrigin="0.5,0.5" Grid.ColumnSpan="3" Grid.RowSpan="2">
			<Grid.RowDefinitions>
				<RowDefinition/>
				<RowDefinition Height="Auto"/>
				<RowDefinition Height="40"/>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="40"/>
				<ColumnDefinition/>
				<ColumnDefinition Width="40"/>
			</Grid.ColumnDefinitions>
			<Grid.RenderTransform>
				<CompositeTransform/>
			</Grid.RenderTransform>
			<ScrollViewer Margin="0" Grid.ColumnSpan="3" d:LayoutOverrides="LeftPosition, RightPosition, TopPosition, BottomPosition">
				<StackPanel RenderTransformOrigin="0.5,0.5" VerticalAlignment="Top">
					<TextBlock x:Name="PageTitle" Margin="40,40,40,0" TextWrapping="Wrap" Text="设置" FontFamily="{StaticResource Font}" FontSize="{StaticResource PageTitleFontSize}" Height="59"/>
					<TextBlock TextWrapping="Wrap" Text="音量" Padding="0" FontFamily="{StaticResource Font}" FontSize="21.333" Margin="40,40,40,0"/>
					<Grid Margin="40,10,40,0">
						<TextBlock Margin="0" TextWrapping="Wrap" Text="音乐音量" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" Padding="0" d:LayoutOverrides="Width" HorizontalAlignment="Left"/>
						<TextBlock Margin="0" TextWrapping="Wrap" Text="{Binding Value, ElementName=MusicVolumeSlider, Mode=OneWay}" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" d:LayoutOverrides="Width" Padding="0" HorizontalAlignment="Right"/>
					</Grid>
					<Slider x:Name="MusicVolumeSlider" Margin="40,0" Foreground="#FFB21D62" Background="#7F330819" d:LayoutOverrides="LeftPosition, RightPosition" Style="{StaticResource SliderStyle}" Value="60"/>
					<Grid Margin="40,10,40,0">
						<TextBlock Margin="0" TextWrapping="Wrap" Text="效果音量" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" Padding="0" d:LayoutOverrides="Width" HorizontalAlignment="Left"/>
						<TextBlock Margin="0" TextWrapping="Wrap" Text="{Binding Value, ElementName=EffectsVolumeSlider, Mode=OneWay}" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" d:LayoutOverrides="Width" Padding="0" HorizontalAlignment="Right"/>
					</Grid>
					<Slider x:Name="EffectsVolumeSlider" Margin="40,0" Foreground="#FFB21D62" Background="#7F330819" Style="{StaticResource SliderStyle}" d:LayoutOverrides="LeftPosition, RightPosition" Value="10"/>
					<Grid Margin="40,10,40,0">
						<TextBlock Margin="0" TextWrapping="Wrap" Text="通知音量" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" Padding="0" d:LayoutOverrides="Width" HorizontalAlignment="Left"/>
						<TextBlock Margin="0" TextWrapping="Wrap" Text="{Binding Value, ElementName=NotificationVolumeSlider, Mode=OneWay}" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" d:LayoutOverrides="Width" Padding="0" HorizontalAlignment="Right"/>
					</Grid>
					<Slider x:Name="NotificationVolumeSlider" Margin="40,0" Foreground="#FFB21D62" Background="#7F330819" Style="{StaticResource SliderStyle}" d:LayoutOverrides="LeftPosition, RightPosition" Value="40"/>
					<TextBlock TextWrapping="Wrap" Text="游戏" Padding="0" FontFamily="{StaticResource Font}" FontSize="21.333" Margin="40,40,40,0"/>
					<TextBlock Margin="40,15,40,0" TextWrapping="Wrap" Text="季节长度（天）" FontFamily="{StaticResource Font}" d:LayoutOverrides="Width" FontSize="18.667"/>
					<Grid Margin="40,10,40,0">
						<TextBlock Margin="0" TextWrapping="Wrap" Text="春季" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" Padding="0" d:LayoutOverrides="Width" HorizontalAlignment="Left"/>
						<TextBlock Margin="0" TextWrapping="Wrap" Text="{Binding Value, ElementName=SpringLengthSlider}" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" d:LayoutOverrides="Width" Padding="0" HorizontalAlignment="Right"/>
					</Grid>
					<Slider x:Name="SpringLengthSlider" Margin="40,0" Foreground="#FFB21D62" Background="#7F330819" Style="{StaticResource SliderStyle}" d:LayoutOverrides="LeftPosition, RightPosition" Minimum="10" Maximum="60" Value="20" Tag="{Binding Value, RelativeSource={RelativeSource Mode=Self}}"/>
					<Grid Margin="40,10,40,0">
						<TextBlock Margin="0" TextWrapping="Wrap" Text="夏季" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" Padding="0" d:LayoutOverrides="Width" HorizontalAlignment="Left"/>
						<TextBlock Margin="0" TextWrapping="Wrap" Text="{Binding Value, ElementName=SummerLengthSlider}" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" d:LayoutOverrides="Width" Padding="0" HorizontalAlignment="Right"/>
					</Grid>
					<Slider x:Name="SummerLengthSlider" Margin="40,0" Foreground="#FFB21D62" Background="#7F330819" Style="{StaticResource SliderStyle}" Minimum="10" Maximum="60" Value="20" Tag="{Binding Value, RelativeSource={RelativeSource Mode=Self}}" d:LayoutOverrides="LeftPosition, RightPosition"/>
					<Grid Margin="40,10,40,0">
						<TextBlock Margin="0" TextWrapping="Wrap" Text="秋季" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" Padding="0" d:LayoutOverrides="Width" HorizontalAlignment="Left"/>
						<TextBlock Margin="0" TextWrapping="Wrap" Text="{Binding Value, ElementName=AutumnLengthSlide, Mode=OneWay}" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" d:LayoutOverrides="Width" Padding="0" HorizontalAlignment="Right"/>
					</Grid>
					<Slider x:Name="AutumnLengthSlide" Margin="40,0" Foreground="#FFB21D62" Background="#7F330819" Style="{StaticResource SliderStyle}" Minimum="10" Maximum="60" Value="20" Tag="{Binding Value, RelativeSource={RelativeSource Mode=Self}}" d:LayoutOverrides="LeftPosition, RightPosition"/>
					<Grid Margin="40,10,40,0">
						<TextBlock Margin="0" TextWrapping="Wrap" Text="冬季" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" Padding="0" d:LayoutOverrides="Width" HorizontalAlignment="Left"/>
						<TextBlock Margin="0" TextWrapping="Wrap" Text="{Binding Value, ElementName=WinterLengthSlider, Mode=OneWay}" FontFamily="{StaticResource Font}" FontSize="{StaticResource FontSize}" d:LayoutOverrides="Width" Padding="0" HorizontalAlignment="Right"/>
					</Grid>
					<Slider x:Name="WinterLengthSlider" Margin="40,0" Foreground="#FFB21D62" Background="#7F330819" Style="{StaticResource SliderStyle}" Minimum="10" Maximum="60" Value="20" Tag="{Binding Value, RelativeSource={RelativeSource Mode=Self}}" d:LayoutOverrides="LeftPosition, RightPosition"/>
					<Button x:Name="AboutPageButton" Content="关于" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Style="{StaticResource TextBlockButtonStyle}" FontFamily="{StaticResource Font}" Margin="40,20,40,40" FontSize="21.333" Click="AboutPageButton_Click"/>
				</StackPanel>
			</ScrollViewer>
			<Button x:Name="MainPageButton" HorizontalAlignment="Left" VerticalAlignment="Stretch" Style="{StaticResource TextBlockButtonStyle}" FontFamily="{StaticResource Font}" FontSize="21.333" Click="MainPageButton_Click" d:LayoutOverrides="HorizontalAlignment" Grid.Column="1" Grid.Row="1">
				<Grid>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="Auto"/>
						<ColumnDefinition Width="5"/>
						<ColumnDefinition Width="Auto"/>
					</Grid.ColumnDefinitions>
					<TextBlock Margin="0" TextWrapping="Wrap" Text="主界面" d:LayoutOverrides="Width, Height" FontFamily="{StaticResource Font}" Grid.Column="2"/>
					<TextBlock Margin="0" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" FontFamily="ms-appx:/Fonts/FontAwesome.otf#FontAwesome" Text="&#xF060;" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Light"/>
					<Rectangle Grid.ColumnSpan="3">
						<Rectangle.Fill>
							<SolidColorBrush Color="{StaticResource Transparent}"/>
						</Rectangle.Fill>
					</Rectangle>
				</Grid>
			</Button>
		</Grid>

	</Grid>
</Page>
